home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #4 / Amiga Plus CD - 2000 - No. 4.iso / Tools / Dev / Bgui / include / bgui / bgui_obsolete.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-05-09  |  3.3 KB  |  111 lines

  1. /*
  2.  * @(#) $Header: /cvsroot/bgui/include/bgui_obsolete.h,v 41.11 2000/05/09 20:01:55 mlemos Exp $
  3.  *
  4.  * $VER: clib/bgui_obsolete.h 41.10 (25.2.98)
  5.  * bgui.library obsolete definitions
  6.  *
  7.  * (C) Copyright 1998 Manuel Lemos.
  8.  * (C) Copyright 1996-1997 Ian J. Einman.
  9.  * (C) Copyright 1993-1996 Jaba Development.
  10.  * (C) Copyright 1993-1996 Jan van den Baard.
  11.  * All Rights Reserved.
  12.  *
  13.  * $Log: bgui_obsolete.h,v $
  14.  * Revision 41.11  2000/05/09 20:01:55  mlemos
  15.  * Merged with the branch Manuel_Lemos_fixes.
  16.  *
  17.  * Revision 41.10.2.1  1999/08/29 20:25:51  mlemos
  18.  * Moved the definitions for methods GRM_ADDMEMBER, GRM_REMMEMBER,
  19.  * GRM_DIMENSIONS, GRM_ADDSPACEMEMBER, GRM_INSERTMEMBER, GRM_REPLACEMEMBER to
  20.  * bgui.h.
  21.  *
  22.  * Revision 41.10  1998/02/25 21:13:56  mlemos
  23.  * Bumping to 41.10
  24.  *
  25.  * Revision 1.1  1998/02/25 17:16:03  mlemos
  26.  * Ian sources
  27.  *
  28.  *
  29.  */
  30.  
  31.  
  32.  
  33.  
  34. /* New methods */
  35. #define BASE_ADDMAP                     (BGUI_MB+41)
  36.  
  37. /* Add an object to the maplist notification list. */
  38. struct bmAddMap {
  39.         ULONG                   MethodID;
  40.         Object                 *bam_Object;
  41.         struct TagItem         *bam_MapList;
  42. };
  43.  
  44. #define BASE_ADDCONDITIONAL             (BGUI_MB+42)
  45.  
  46. /* Add an object to the conditional notification list. */
  47. struct bmAddConditional {
  48.         ULONG                   MethodID;
  49.         Object                 *bac_Object;
  50.         struct TagItem          bac_Condition;
  51.         struct TagItem          bac_TRUE;
  52.         struct TagItem          bac_FALSE;
  53. };
  54.  
  55. #define BASE_ADDMETHOD                  (BGUI_MB+43)
  56.  
  57. /* Add an object to the method notification list. */
  58. struct bmAddMethod {
  59.         ULONG                   MethodID;
  60.         Object                 *bam_Object;
  61.         ULONG                   bam_Flags;
  62.         ULONG                   bam_Size;
  63.         ULONG                   bam_MethodID;
  64. };
  65.  
  66. #define BAMF_NO_GINFO           (1<<0)  /* Do not send GadgetInfo. */
  67. #define BAMF_NO_INTERIM         (1<<1)  /* Skip interim messages.  */
  68.  
  69. #define BASE_REMMAP                     (BGUI_MB+44)
  70. #define BASE_REMCONDITIONAL             (BGUI_MB+45)
  71. #define BASE_REMMETHOD                  (BGUI_MB+46)
  72.  
  73. /* Remove an object from a notification list. */
  74. struct bmRemove {
  75.         ULONG                   MethodID;
  76.         Object                 *bar_Object;
  77. };
  78.  
  79. #define BASE_ADDHOOK                    (BGUI_MB+52)
  80.  
  81. /* Add a hook to the hook-notification list. */
  82. struct bmAddHook {
  83.         ULONG                   MethodID;
  84.         struct Hook            *bah_Hook;
  85. };
  86.  
  87. /* Remove a hook from the hook-notification list. */
  88. #define BASE_REMHOOK                    (BGUI_MB+53)
  89.  
  90.  
  91. /*
  92.  *      These are required for backwards compatibility with old code.
  93.  *      Use the new identifiers instead.
  94.  */
  95. #define FRQ_Left                ASLREQ_Left
  96. #define FRQ_Top                 ASLREQ_Top
  97. #define FRQ_Width               ASLREQ_Width
  98. #define FRQ_Height              ASLREQ_Height
  99. #define FRQ_Drawer              FILEREQ_Drawer
  100. #define FRQ_File                FILEREQ_File
  101. #define FRQ_Pattern             FILEREQ_Pattern
  102. #define FRQ_Path                FILEREQ_Path
  103. #define FRQ_MultiHook           FILEREQ_MultiHook
  104. #define FRQ_OK                  ASLREQ_OK
  105. #define FRQ_CANCEL              ASLREQ_CANCEL
  106. #define FRQ_ERROR_NO_MEM        ASLREQ_ERROR_NO_MEM
  107. #define FRQ_ERROR_NO_FREQ       ASLREQ_ERROR_NO_REQ
  108. #define FRM_DOREQUEST           ASLM_DOREQUEST
  109.  
  110.  
  111.